package cn.edu.jxau.test;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

import cn.edu.jxau.util.JDBCUtils;
import cn.edu.jxau.util.RandomUtils;

public class Main {

	public static void main(String[] args) {

		toBit(265);
	}

	private static void toBit(int n) {

		n = n & 0xFF;
		for (int i = 7; i >= 0; i--) {
			System.out.print(((n >> i) & 0x1) + "\t");
		}
	}
}

class Node {

	public Node left;
	public Node right;
	public Node parent;
	public int data;

	public Node(int data) {
		this.data = data;
	}
}